package com.stedu.mapper;

import com.stedu.bean.GamingPlatform;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GamingPlatformMapper {
    //添加 int返回的是受影响的行数
    int add(GamingPlatform gamingPlatform) ;
    //删除
    int del(@Param("plaid") Integer plaid) ;
    //修改更具id
    int upda(GamingPlatform gamingPlatform) ;
    //查询所有
    List<GamingPlatform> selectall() ;
    //根据id查找
    GamingPlatform selectById(@Param("plaid") Integer plaid) ;
    //根据部门名查询
    GamingPlatform selectByDname(@Param("planame") String planame) ;
}
